<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<title>OpenCV: cv::util::variant&lt; Ts &gt; Class Template Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon" />
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../tutorial-utils.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
   &#160;<span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></li><li class="navelem"><a class="el" href="../../d3/dce/namespacecv_1_1util.html">util</a></li><li class="navelem"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="../../dd/ddd/classcv_1_1util_1_1variant-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">cv::util::variant&lt; Ts &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;opencv2/gapi/util/variant.hpp&gt;</code></p>
<div class="dynheader">
Inheritance diagram for cv::util::variant&lt; Ts &gt;:</div>
<div class="dyncontent">
 <div class="center">
  <img src="../../dc/d3e/classcv_1_1util_1_1variant.png" usemap="#cv::util::variant_3C_20Ts_20_3E_map" alt=""/>
  <map id="cv::util::variant_3C_20Ts_20_3E_map" name="cv::util::variant_3C_20Ts_20_3E_map">
<area href="../../d3/d74/structcv_1_1GRunArg.html" alt="cv::GRunArg" shape="rect" coords="0,56,130,80"/>
<area href="../../d7/d84/structcv_1_1gapi_1_1wip_1_1Data.html" title="This aggregate type represents all types which G-API can handle (via variant). " alt="cv::gapi::wip::Data" shape="rect" coords="0,112,130,136"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a204de4b74e5394c354ee97bfd1b2a320"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html#a204de4b74e5394c354ee97bfd1b2a320">variant</a> () noexcept</td></tr>
<tr class="separator:a204de4b74e5394c354ee97bfd1b2a320"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7eded4ad52972cb36fe84b6d3430d3f1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html#a7eded4ad52972cb36fe84b6d3430d3f1">variant</a> (const <a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a> &amp;other)</td></tr>
<tr class="separator:a7eded4ad52972cb36fe84b6d3430d3f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07d8a0b9c7bbce035cdd045fd9ac3aec"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html#a07d8a0b9c7bbce035cdd045fd9ac3aec">variant</a> (<a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a> &amp;&amp;other) noexcept</td></tr>
<tr class="separator:a07d8a0b9c7bbce035cdd045fd9ac3aec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0a059d49545db5b9f5b1f146f85bc05"><td class="memTemplParams" colspan="2">template&lt;typename T , typename  = util::are_different_t&lt;variant, T&gt;&gt; </td></tr>
<tr class="memitem:af0a059d49545db5b9f5b1f146f85bc05"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html#af0a059d49545db5b9f5b1f146f85bc05">variant</a> (T &amp;&amp;t)</td></tr>
<tr class="separator:af0a059d49545db5b9f5b1f146f85bc05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a9e93249f56d1cc34c6068543562cad"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html#a0a9e93249f56d1cc34c6068543562cad">~variant</a> ()</td></tr>
<tr class="separator:a0a9e93249f56d1cc34c6068543562cad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e86a7a617c062c8e36c3e991fa3fc1c"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html#a6e86a7a617c062c8e36c3e991fa3fc1c">index</a> () const noexcept</td></tr>
<tr class="separator:a6e86a7a617c062c8e36c3e991fa3fc1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06701f71c52af321d833f6f3fdcfb89f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html#a06701f71c52af321d833f6f3fdcfb89f">operator=</a> (const <a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a> &amp;rhs)</td></tr>
<tr class="separator:a06701f71c52af321d833f6f3fdcfb89f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcd060a1b68f44893b2f15547f46b1d1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html#abcd060a1b68f44893b2f15547f46b1d1">operator=</a> (<a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a> &amp;&amp;rhs) noexcept</td></tr>
<tr class="separator:abcd060a1b68f44893b2f15547f46b1d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4d841affbe050fd34c14f374850f8d9"><td class="memTemplParams" colspan="2">template&lt;typename T , typename  = util::are_different_t&lt;variant, T&gt;&gt; </td></tr>
<tr class="memitem:aa4d841affbe050fd34c14f374850f8d9"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a> &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html#aa4d841affbe050fd34c14f374850f8d9">operator=</a> (T &amp;&amp;t) noexcept</td></tr>
<tr class="separator:aa4d841affbe050fd34c14f374850f8d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37e79528fb523179954532c12afb3e5b"><td class="memTemplParams" colspan="2">template&lt;typename... Ts&gt; </td></tr>
<tr class="memitem:a37e79528fb523179954532c12afb3e5b"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a>&lt; Ts... &gt; &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html#a37e79528fb523179954532c12afb3e5b">operator=</a> (const <a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a>&lt; Ts... &gt; &amp;rhs)</td></tr>
<tr class="separator:a37e79528fb523179954532c12afb3e5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f2388dd0dd28e24b5842cd1b432008c"><td class="memTemplParams" colspan="2">template&lt;typename... Ts&gt; </td></tr>
<tr class="memitem:a0f2388dd0dd28e24b5842cd1b432008c"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a>&lt; Ts... &gt; &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html#a0f2388dd0dd28e24b5842cd1b432008c">operator=</a> (<a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a>&lt; Ts... &gt; &amp;&amp;rhs) noexcept</td></tr>
<tr class="separator:a0f2388dd0dd28e24b5842cd1b432008c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac79b6c26e562636fb083bb6220af39d7"><td class="memTemplParams" colspan="2">template&lt;typename T , typename &gt; </td></tr>
<tr class="memitem:ac79b6c26e562636fb083bb6220af39d7"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a>&lt; Ts... &gt; &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html#ac79b6c26e562636fb083bb6220af39d7">operator=</a> (T &amp;&amp;t) noexcept</td></tr>
<tr class="separator:ac79b6c26e562636fb083bb6220af39d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7471fa2590350e45b30cb72da0f7668"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html#ac7471fa2590350e45b30cb72da0f7668">swap</a> (<a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a> &amp;rhs) noexcept</td></tr>
<tr class="separator:ac7471fa2590350e45b30cb72da0f7668"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:aa87645829693267bb0f0ecd5325a1fc7"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:aa87645829693267bb0f0ecd5325a1fc7"><td class="memTemplItemLeft" align="right" valign="top">static constexpr std::size_t&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html#aa87645829693267bb0f0ecd5325a1fc7">index_of</a> ()</td></tr>
<tr class="separator:aa87645829693267bb0f0ecd5325a1fc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:ac2d4047459c677a9369c27e277484973"><td class="memItemLeft" align="right" valign="top">Memory&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html#ac2d4047459c677a9369c27e277484973">memory</a></td></tr>
<tr class="separator:ac2d4047459c677a9369c27e277484973"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a6bd7b7a970c744b0e160ef03a207f044"><td class="memTemplParams" colspan="2">template&lt;typename T , typename... Us&gt; </td></tr>
<tr class="memitem:a6bd7b7a970c744b0e160ef03a207f044"><td class="memTemplItemLeft" align="right" valign="top">T &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html#a6bd7b7a970c744b0e160ef03a207f044">get</a> (<a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a>&lt; Us... &gt; &amp;v)</td></tr>
<tr class="separator:a6bd7b7a970c744b0e160ef03a207f044"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5a15304c2725da374971b236ee35625"><td class="memTemplParams" colspan="2">template&lt;typename T , typename... Us&gt; </td></tr>
<tr class="memitem:ad5a15304c2725da374971b236ee35625"><td class="memTemplItemLeft" align="right" valign="top">const T &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html#ad5a15304c2725da374971b236ee35625">get</a> (const <a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a>&lt; Us... &gt; &amp;v)</td></tr>
<tr class="separator:ad5a15304c2725da374971b236ee35625"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48517152354c45df85f98346b52d884d"><td class="memTemplParams" colspan="2">template&lt;typename T , typename... Us&gt; </td></tr>
<tr class="memitem:a48517152354c45df85f98346b52d884d"><td class="memTemplItemLeft" align="right" valign="top">T *&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html#a48517152354c45df85f98346b52d884d">get_if</a> (<a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a>&lt; Us... &gt; *v) noexcept</td></tr>
<tr class="separator:a48517152354c45df85f98346b52d884d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a96b6213a62d73b400ca0b8cbb2d0bc"><td class="memTemplParams" colspan="2">template&lt;typename T , typename... Us&gt; </td></tr>
<tr class="memitem:a4a96b6213a62d73b400ca0b8cbb2d0bc"><td class="memTemplItemLeft" align="right" valign="top">const T *&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html#a4a96b6213a62d73b400ca0b8cbb2d0bc">get_if</a> (const <a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a>&lt; Us... &gt; *v) noexcept</td></tr>
<tr class="separator:a4a96b6213a62d73b400ca0b8cbb2d0bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22b988f35c68ef6dda4395640dd00d45"><td class="memTemplParams" colspan="2">template&lt;typename... Us&gt; </td></tr>
<tr class="memitem:a22b988f35c68ef6dda4395640dd00d45"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html#a22b988f35c68ef6dda4395640dd00d45">operator==</a> (const <a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a>&lt; Us... &gt; &amp;lhs, const <a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a>&lt; Us... &gt; &amp;rhs)</td></tr>
<tr class="separator:a22b988f35c68ef6dda4395640dd00d45"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a204de4b74e5394c354ee97bfd1b2a320"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a204de4b74e5394c354ee97bfd1b2a320">&#9670;&nbsp;</a></span>variant() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... Ts&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">cv::util::variant</a>&lt; Ts &gt;::<a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a7eded4ad52972cb36fe84b6d3430d3f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7eded4ad52972cb36fe84b6d3430d3f1">&#9670;&nbsp;</a></span>variant() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... Ts&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">cv::util::variant</a>&lt; Ts &gt;::<a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a>&lt; Ts &gt; &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a07d8a0b9c7bbce035cdd045fd9ac3aec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07d8a0b9c7bbce035cdd045fd9ac3aec">&#9670;&nbsp;</a></span>variant() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... Ts&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">cv::util::variant</a>&lt; Ts &gt;::<a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a>&lt; Ts &gt; &amp;&amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="af0a059d49545db5b9f5b1f146f85bc05"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af0a059d49545db5b9f5b1f146f85bc05">&#9670;&nbsp;</a></span>variant() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... Ts&gt; </div>
<div class="memtemplate">
template&lt;class T , typename &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">cv::util::variant</a>&lt; Ts &gt;::<a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a> </td>
          <td>(</td>
          <td class="paramtype">T &amp;&amp;&#160;</td>
          <td class="paramname"><em>t</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a0a9e93249f56d1cc34c6068543562cad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0a9e93249f56d1cc34c6068543562cad">&#9670;&nbsp;</a></span>~variant()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... Ts&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">cv::util::variant</a>&lt; Ts &gt;::~<a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a6e86a7a617c062c8e36c3e991fa3fc1c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e86a7a617c062c8e36c3e991fa3fc1c">&#9670;&nbsp;</a></span>index()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... Ts&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">cv::util::variant</a>&lt; Ts &gt;::index </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aa87645829693267bb0f0ecd5325a1fc7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa87645829693267bb0f0ecd5325a1fc7">&#9670;&nbsp;</a></span>index_of()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... Ts&gt; </div>
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr std::size_t <a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">cv::util::variant</a>&lt; Ts &gt;::index_of </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a06701f71c52af321d833f6f3fdcfb89f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a06701f71c52af321d833f6f3fdcfb89f">&#9670;&nbsp;</a></span>operator=() <span class="overload">[1/6]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... Ts&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a>&amp; <a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">cv::util::variant</a>&lt; Ts &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a>&lt; Ts &gt; &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="abcd060a1b68f44893b2f15547f46b1d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abcd060a1b68f44893b2f15547f46b1d1">&#9670;&nbsp;</a></span>operator=() <span class="overload">[2/6]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... Ts&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a>&amp; <a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">cv::util::variant</a>&lt; Ts &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a>&lt; Ts &gt; &amp;&amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aa4d841affbe050fd34c14f374850f8d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa4d841affbe050fd34c14f374850f8d9">&#9670;&nbsp;</a></span>operator=() <span class="overload">[3/6]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... Ts&gt; </div>
<div class="memtemplate">
template&lt;typename T , typename  = util::are_different_t&lt;variant, T&gt;&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a>&amp; <a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">cv::util::variant</a>&lt; Ts &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">T &amp;&amp;&#160;</td>
          <td class="paramname"><em>t</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a37e79528fb523179954532c12afb3e5b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a37e79528fb523179954532c12afb3e5b">&#9670;&nbsp;</a></span>operator=() <span class="overload">[4/6]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... Ts&gt; </div>
<div class="memtemplate">
template&lt;typename... Ts&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a>&lt;Ts...&gt;&amp; <a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">cv::util::variant</a>&lt; Ts &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a>&lt; Ts... &gt; &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a0f2388dd0dd28e24b5842cd1b432008c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f2388dd0dd28e24b5842cd1b432008c">&#9670;&nbsp;</a></span>operator=() <span class="overload">[5/6]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... Ts&gt; </div>
<div class="memtemplate">
template&lt;typename... Ts&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a>&lt;Ts...&gt;&amp; <a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">cv::util::variant</a>&lt; Ts &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a>&lt; Ts... &gt; &amp;&amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ac79b6c26e562636fb083bb6220af39d7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac79b6c26e562636fb083bb6220af39d7">&#9670;&nbsp;</a></span>operator=() <span class="overload">[6/6]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... Ts&gt; </div>
<div class="memtemplate">
template&lt;typename T , typename &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a>&lt;Ts...&gt;&amp; <a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">cv::util::variant</a>&lt; Ts &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">T &amp;&amp;&#160;</td>
          <td class="paramname"><em>t</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ac7471fa2590350e45b30cb72da0f7668"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7471fa2590350e45b30cb72da0f7668">&#9670;&nbsp;</a></span>swap()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... Ts&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">cv::util::variant</a>&lt; Ts &gt;::swap </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a>&lt; Ts &gt; &amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="a6bd7b7a970c744b0e160ef03a207f044"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6bd7b7a970c744b0e160ef03a207f044">&#9670;&nbsp;</a></span>get <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... Ts&gt; </div>
<div class="memtemplate">
template&lt;typename T , typename... Us&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T&amp; get </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a>&lt; Us... &gt; &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ad5a15304c2725da374971b236ee35625"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad5a15304c2725da374971b236ee35625">&#9670;&nbsp;</a></span>get <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... Ts&gt; </div>
<div class="memtemplate">
template&lt;typename T , typename... Us&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const T&amp; get </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a>&lt; Us... &gt; &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a48517152354c45df85f98346b52d884d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48517152354c45df85f98346b52d884d">&#9670;&nbsp;</a></span>get_if <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... Ts&gt; </div>
<div class="memtemplate">
template&lt;typename T , typename... Us&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T* get_if </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a>&lt; Us... &gt; *&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a4a96b6213a62d73b400ca0b8cbb2d0bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a96b6213a62d73b400ca0b8cbb2d0bc">&#9670;&nbsp;</a></span>get_if <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... Ts&gt; </div>
<div class="memtemplate">
template&lt;typename T , typename... Us&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const T* get_if </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a>&lt; Us... &gt; *&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a22b988f35c68ef6dda4395640dd00d45"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a22b988f35c68ef6dda4395640dd00d45">&#9670;&nbsp;</a></span>operator==</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... Ts&gt; </div>
<div class="memtemplate">
template&lt;typename... Us&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a>&lt; Us... &gt; &amp;&#160;</td>
          <td class="paramname"><em>lhs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">variant</a>&lt; Us... &gt; &amp;&#160;</td>
          <td class="paramname"><em>rhs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ac2d4047459c677a9369c27e277484973"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2d4047459c677a9369c27e277484973">&#9670;&nbsp;</a></span>memory</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename... Ts&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Memory <a class="el" href="../../dc/d3e/classcv_1_1util_1_1variant.html">cv::util::variant</a>&lt; Ts &gt;::memory</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>opencv2/gapi/util/<a class="el" href="../../d9/d7a/variant_8hpp.html">variant.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:48 for OpenCV by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
